package com.neugh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class News implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 消息ID
     */
      @TableId(value = "newsId", type = IdType.AUTO)
    private Integer newsId;

    /**
     * 消息名称
     */
    private String newsName;

    /**
     * 消息类型 
     */
    private Integer newsType;

    /**
     * 消息内容 
     */
    private String nwsContent;


    public static final String NEWSID = "newsId";

    public static final String NEWSNAME = "newsName";

    public static final String NEWSTYPE = "newsType";

    public static final String NWSCONTENT = "nwsContent";

}
